import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import VueLazyload from 'vue-lazyload'
import ViewUI from 'view-design';

// import style
import 'view-design/dist/styles/iview.css';

Vue.use(ViewUI);
import fastclick from 'fastclick'

import 'common/stylus/index.styl'

fastclick.attach(document.body)


Vue.use(VueLazyload, {
  loading: require('common/image/default.gif')
})
 
/* eslint-disable no-new */
new Vue({
  el: '#app',
  render: h => h(App),
  store,
  router
})
